﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TI_Test
{
    public class AttachItemRecord{
        public Int64 OwnerID { get; set; }
        public string DocID { get; set; }
        public string URL{get;set;}
        public string FileName { get; set; }
        public static bool isDownload { get; set; }
        public override string ToString()
        {
            return Helper.Json<AttachItemRecord>.NewtonSerializeObject(this);
        }
    }


   public class AttachItem
    {
       public Int64 _id { get; set; }
       public List<AttachItemRecord> value { get; set; }

       public override string ToString()
       {
           return Helper.Json<AttachItem>.NewtonSerializeObject(this);
       }
    }
}
